7c9cc04e08efeeb90ed7d61fae0e2b5bfcf0ffc2,OpenGPSTracker/application/src/nl/sogeti/android/gpstracker/viewer/LoggerMap.java,LoggerMap,getLastTrackPoint,#,1419

Before Change


      Location lastLoc = mLoggerServiceManager.getLastWaypoint();
      if (lastLoc != null)
      {
         double latitude = lastLoc.getLatitude();
         double longitude = lastLoc.getLongitude();
         lastPoint = new LatLng(latitude, longitude);
      }

      // If nothing yet, try the content resolver and query the track

After Change


      Location lastLoc = mLoggerServiceManager.getLastWaypoint();
      if (lastLoc != null)
      {
         int microLatitude = (int) (lastLoc.getLatitude() * 1E6d);
         int microLongitude = (int) (lastLoc.getLongitude() * 1E6d);
         lastPoint = new GeoPoint(microLatitude, microLongitude);
      }

      // If nothing yet, try the content resolver and query the track